package com.example.demo.dao;

import com.example.demo.annotation.FruitColor;
import com.example.demo.annotation.FruitName;
import com.example.demo.annotation.FruitProvider;
import lombok.Data;

@Data
public class Fruit {
    @FruitName(fruitName = "苹果")
    private String fruitName;

    @FruitColor(fruitColor = FruitColor.Color.RED)
    private String color;

    @FruitProvider(id = 1, name = "李华", address = "南阳")
    private String provider;
}
